/*!
 * Start Bootstrap - SB Admin Bootstrap Admin Template (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

/* Global Styles */

body {
    margin-top: 0px;
    background-color: #ffffff;
}

@media(min-width:768px) {
    body {
        margin-top: 0px;
    }
}


#wrapper {
    padding-left: 0;
}

#page-wrapper {
    width: 100%;
    padding: 0;
    background-color: #fff;
}

.huge {
    font-size: 35px;
    line-height: normal;
}

@media(min-width:768px) {

    /* padding for side nav */
    #wrapper {
        padding-left: 250px;
        padding-right: 25px;
    }

    #page-wrapper {
        padding: 10px;
    }
}

/* Top Navigation */

.top-nav {
    padding: 0 15px;
}

.top-nav>li {
    display: inline-block;
    float: left;
}

.top-nav>li>a {
    padding-top: 15px;
    padding-bottom: 15px;
    line-height: 20px;
    color: #999;
}

.top-nav>li>a:hover,
.top-nav>li>a:focus,
.top-nav>.open>a,
.top-nav>.open>a:hover,
.top-nav>.open>a:focus {
    color: #fff;
    background-color: #000;
}

.top-nav>.open>.dropdown-menu {
    float: left;
    position: absolute;
    margin-top: 0;
    border: 1px solid rgba(0,0,0,.15);
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    background-color: #fff;
    -webkit-box-shadow: 0 6px 12px rgba(0,0,0,.175);
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
}

.top-nav>.open>.dropdown-menu>li>a {
    white-space: normal;
}

ul.message-dropdown {
    padding: 0;
    max-height: 250px;
    overflow-x: hidden;
    overflow-y: auto;
}

li.message-preview {
    width: 275px;
    border-bottom: 1px solid rgba(0,0,0,.15);
}

li.message-preview>a {
    padding-top: 15px;
    padding-bottom: 15px;
}

li.message-footer {
    margin: 5px 0;
}

ul.alert-dropdown {
    width: 200px;
}

/* Side Navigation */

@media(min-width:768px) {
    .side-nav {
        position: fixed;
        top: 0px;
        left: 225px;
        width: 225px;
        margin-left: -225px;
        border: none;
        border-radius: 0;
        overflow-y: auto;
        background-color: #000000;
        bottom: 0;
        overflow-x: hidden;
        padding-bottom: 40px;
    }

    .side-nav>li>a {
        width: 225px;
        color: #f7f7f7;
    }

    .side-nav li a:hover,
    .side-nav li a:focus {
        outline: none;
        background-color: #000 !important;
        color: #009DC7;
    }
}

.side-nav>li>ul {
    padding: 0;
}

.side-nav>li>ul>li>a {
    display: block;
    padding: 10px 15px 10px 38px;
    text-decoration: none;
    color: #f7f7f7;
}

.side-nav>li>ul>li>a:hover {
    color: #009DC7;
}

/* Flot Chart Containers */

.flot-chart {
    display: block;
    height: 400px;
}

.flot-chart-content {
    width: 100%;
    height: 100%;
}

/* Custom Colored Panels */

.huge {
    font-size: 35px;
}

.panel-green {
    border-color: #5cb85c;
}

.panel-green > .panel-heading {
    border-color: #5cb85c;
    color: #fff;
    background-color: #5cb85c;
}

.panel-green > a {
    color: #5cb85c;
}

.panel-green > a:hover {
    color: #3d8b3d;
}

.panel-red {
    border-color: #d9534f;
}

.panel-red > .panel-heading {
    border-color: #d9534f;
    color: #fff;
    background-color: #d9534f;
}

.panel-red > a {
    color: #d9534f;
}

.panel-red > a:hover {
    color: #b52b27;
}

.panel-yellow {
    border-color: #f0ad4e;
}

.panel-yellow > .panel-heading {
    border-color: #f0ad4e;
    color: #fff;
    background-color: #f0ad4e;
}

.panel-yellow > a {
    color: #f0ad4e;
}

.panel-yellow > a:hover {
    color: #df8a13;
}

/* addition */
.tab-content>.tab-pane {
    padding: 10px;
}

div.tab-content {
    border-color: #D0C9C9;
    border-style: solid;
    border-width: 0 1.5px 1.5px;
}
/* 文字段样式，区别于bootstrap本身的p样式 */
p.content{
    margin: 5px;
    text-indent: 2em;
}

div.tab-content{
    box-shadow: 0 0 20px rgba(1, 1, 1, 0.3)
}
div.chart-content{
    height: 400px;
    width: 750px;
}
p.chart-btn{
    text-align: center;
}
a.chart-btns{
    width: 30%;
}

div.visible-panel{
    max-height: 1500px;
    min-height: 700px;
    height: 900px;
    overflow: scroll;
}
div.chart{
    height: 1000px;
}
div.thumbnail{
    margin: auto;
    height: 95%;
}
div.model-content{
    width: 700px;
}
.navbar{
    margin-left: -10px;
    margin-right: -10px;
}
.navbar-right{
    margin-right:10px;
}
.message-count>p{
    font-size: 16px;
}
.status{
    height:12px;
    width: 12px;
    border-radius: 50%;
    /*float: left;*/
    margin-top: 5px;
    margin-right: auto;
    margin-left: auto;
}
.status-working{
    background-color: #4eb888;
}
.list-group-item>a{
    float: left;
}
.monitor-status{
    height: 24px;
    width: 12px;
}

.table td{
    text-align: center;
    vertical-align: middle !important ;
}
.table th{
    text-align: center;
}


/* event box */
.event-box{
    clear: both;
    margin-bottom: 25px;
    margin-top: 0;
    padding: 0;
}

.box-title{
    background-color: #ffffff;
    border-color: #e7eaec;
    border-image: none;
    border-style: solid solid none;
    border-width: 3px 0 0;
    color: inherit;
    margin-bottom: 0;
    padding: 14px 15px 7px;
    min-height: 48px;
}

.box-heading h4 {
    display: inline-block;
    /*font-size: 14px;*/
    margin: 0 0 7px;
    padding: 0;
    text-overflow: ellipsis;
    float: left;
}
/*.box-heading small{*/
    /*display: inline-block;*/
    /*text-overflow: ellipsis;*/
    /*float: left;*/
/*}*/

.box-content {
    clear: both;
    display: block;
    background-color: #ffffff;
    color: inherit;
    padding: 15px 20px 20px 20px;
    border-color: #e7eaec;
    border-image: none;
    border-style: solid solid none;
    border-width: 1px 0;
}

.box-tool{
    display: block;
    float: none;
    margin-top: 0;
    position: relative;
    padding: 0;
    text-align: right;
}

.box-tool a {
    cursor: pointer;
    margin-left: 5px;
    color: #c4c4c4;
}

.box-heading{
    background-color: #f3f6fb;
    border-bottom: none;
}


.timeline-item .date {
    text-align: right;
    /*width: 110px;*/
    position: relative;
    padding-top: 30px;
}

.timeline-item .content{
    border-left: 1px solid #e7eaec;
    border-top: 1px solid #e7eaec;
    padding-top: 10px;
    min-height: 100px;
}

.timeline-item .content p{
    word-break: break-all;
}

.timeline-item .content-top{
    border-top: 0px !important;

}

.timeline-small{
    color: #1ab394;
}

.chart-container{
    height: 400px;
    width: 100%;
    padding: 10px 10px;
    margin-bottom: 15px;
}